'use strict'

const fs = require('fs');

fs.writeFileSync('a.txt', 'hello', 'utf-8');
fs.writeFile('b.txt', 'haha', 'utf-8', err => {
    console.log('done')
});